
package edu.tongji.jiaowu.service.impl;
 
import java.util.List;
import com.tongji.quickCRUDQ.service.impl.BaseManagerImpl;
import edu.tongji.jiaowu.dao.CodeCategoryDao;
import edu.tongji.jiaowu.service.CodeCategoryManager;
import com.tongji.quickCRUDQ.model.CommonBean;

public class CodeCategoryManagerImpl extends BaseManagerImpl implements CodeCategoryManager {
        private CodeCategoryDao codeCategoryDao;

	
	public CommonBean createCodeCategory(){
                return codeCategoryDao.createCodeCategory();		
	}
	
/*
	public CommonBean findCodeCategorys(String refid) {
                return codeCategoryDao.findCodeCategorys(refid);
       }
*/
	public CommonBean findCodeCategoryById(String id){
                return codeCategoryDao.findCodeCategoryById(id);
       }	
	public CommonBean findAllCodeCategorys() {
                return codeCategoryDao.findAllCodeCategorys();
       }
	public void insertCodeCategory(CommonBean codeCategoryBean){
               codeCategoryDao.insertCodeCategory(codeCategoryBean);
	}
	
	public CodeCategoryDao getCodeCategoryDao(){
		return codeCategoryDao;
        }	
        
        public void setCodeCategoryDao(CodeCategoryDao codeCategoryDao){
                this.codeCategoryDao=codeCategoryDao;	
        }        		
}

